package com.huayal.mall.product.fegin;

import com.huayal.common.vo.es.SkuESModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("mall-search")
public interface ESFeginService {

    @PostMapping("/es/saveSkuESModels")
    public Boolean saveSkuESModels(@RequestBody List<SkuESModel> skuESModels);
}
